package com.qf.service;

import com.qf.pojo.Owner;
import com.qf.vo.OwnerVo;
import com.qf.vo.OwnerVo1;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author zdl
 * @date 2025/2/15
 */
public interface OwnerService {
    List<OwnerVo> findAllOwnerWithRoomWithBuildingByBuildingNameOrOwenerName(String buildingName, String ownerName);

    //todo  新增业主 rid 逻辑未想清楚 目前能做到查询全部房间用于居住的，但是用于居住的房间rid如何给owner表
    int insertOwner(Owner owner);

    int delOwnerByOid(int oid);
}
